<template>
	<view class="no-data-box">
		<image
			src="/static/no-data-img.png"
			:style="{ width: props.width + 'rpx', height: props.width + 'rpx' }"
		></image>
		<view class="z-font-22 uni-585C66">{{ props.placeholder }}</view>
	</view>
</template>
<script setup>
const props = defineProps({
	width: {
		type: [Number, String],
		default: 200
	},
	placeholder: {
		type: String,
		default: '暂无数据'
	}
});
</script>
<style>
.no-data-box {
	width: 100%;
	text-align: center;
	padding: 16rpx 0;
}
</style>
